﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CRM.Database.Model.TechnicRequests>" %>
<%@ Import Namespace="CRM.Database.Model" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    №  <%:Model.IdTechnicRequest.ToString()%>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Отчет по заявке №  <%:Model.IdTechnicRequest.ToString()%></h2>
<%= Html.ActionLink("Вернуться к деталям заявки", "TechnicRequestDetails", new { idTecnicRequest = Model.IdTechnicRequest })%>

<br />
<br />

<%--<%
    Html.DevExpress().PageControl(settings =>
    {
        settings.Name = "pReportsTabs";
        settings.TabPages.Add("1").SetContent(() => Html.RenderPartial("ViewReportPartial1", Model.GetReport1()));
        settings.TabPages.Add("2").SetContent(() => Html.RenderPartial("ViewReportPartial2", Model.GetReport2()));
        settings.TabPages.Add("3").SetContent(() => Html.RenderPartial("ViewReportPartial3", Model.GetReport3()));
        settings.TabPages.Add("4").SetContent(() => Html.RenderPartial("ViewReportPartial4", Model.GetReport4()));
        settings.TabPages.Add("5").SetContent(() => Html.RenderPartial("ViewReportPartial5", Model.GetReport5()));
        settings.TabPages.Add("6").SetContent(() => Html.RenderPartial("ViewReportPartial6", Model.GetReport6()));
        settings.TabPages.Add("7").SetContent(() => Html.RenderPartial("ViewReportPartial7", Model.GetReport7()));
        settings.TabPages.Add("8").SetContent(() => Html.RenderPartial("ViewReportPartial8", Model.GetReport8()));
        settings.TabPages.Add("9").SetContent(() => Html.RenderPartial("ViewReportPartial9", Model.GetReport9()));
        settings.TabPages.Add("10").SetContent(() => Html.RenderPartial("ViewReportPartial10", Model.GetReport10()));
        settings.TabPages.Add("11").SetContent(() => Html.RenderPartial("ViewReportPartial11", Model.GetReport11()));
        settings.TabPages.Add("12").SetContent(() => Html.RenderPartial("ViewReportPartial12", Model.GetReport12()));
        settings.TabPages.Add("13").SetContent(() => Html.RenderPartial("ViewReportPartial13", Model));
        
    }).GetHtml(); %>--%>

<br />
<% Html.RenderPartial("ViewReportPartial1", Model.GetReport1()); %>
<br />
<% Html.RenderPartial("ViewReportPartial2", Model.GetReport2()); %>
<br />
<% Html.RenderPartial("ViewReportPartial3", Model.GetReport3()); %>
<br />
<% Html.RenderPartial("ViewReportPartial4", Model.GetReport4()); %>
<br />
<% Html.RenderPartial("ViewReportPartial5", Model.GetReport5()); %>
<br />
<% Html.RenderPartial("ViewReportPartial6", Model.GetReport6()); %>
<br />
<% Html.RenderPartial("ViewReportPartial7", Model.GetReport7()); %>
<br />
<% Html.RenderPartial("ViewReportPartial8", Model.GetReport8()); %>
<br />
<% Html.RenderPartial("ViewReportPartial9", Model.GetReport9()); %>
<br />
<% Html.RenderPartial("ViewReportPartial10", Model.GetReport10()); %>
<br />
<% Html.RenderPartial("ViewReportPartial11", Model.GetReport11()); %>
<br />
<% Html.RenderPartial("ViewReportPartial12", Model.GetReport12()); %>
<br />
<% Html.RenderPartial("ViewReportPartial13", Model); %>

</asp:Content>
